package com.memory.monitor.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.memory.monitor.common.DeleteRequest;
import com.memory.monitor.model.dto.role.RoleAddRequest;
import com.memory.monitor.model.dto.role.RoleQuerryRequest;
import com.memory.monitor.model.dto.role.RoleUpdateRequest;
import com.memory.monitor.model.dto.station.StationAddRequest;
import com.memory.monitor.model.dto.station.StationQuerryRequest;
import com.memory.monitor.model.dto.station.StationUpdateRequest;
import com.memory.monitor.model.entity.Role;
import com.memory.monitor.model.entity.Station;
import com.memory.monitor.model.vo.RoleVO;
import com.memory.monitor.model.vo.StationVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;


/**
* @author 21731
* @description 针对表【station(基地风采)】的数据库操作Service
* @createDate 2024-09-02 09:55:33
*/
public interface StationService extends IService<Station> {
    /**
     * 获取MarketVO信息
     *
     * @param station
     * @return
     */
    StationVO getStationVO(Station station);

    /**
     * 获取MarketVO信息
     *
     * @param stationList
     * @return
     */
    List<StationVO> getStationVO(List<Station> stationList);

    /**
     * 查询条件
     *
     * @param stationQuerryRequest
     * @return
     */
    QueryWrapper<Station> getQueryWrapper(StationQuerryRequest stationQuerryRequest);


    /**
     * 增加查询条件
     *
     * @param stationAddRequest
     * @return
     */
    Long addStation(StationAddRequest stationAddRequest);

    /**
     * 更新查询条件
     *
     * @param stationUpdateRequest
     * @return
     */

    Boolean updateStation(StationUpdateRequest stationUpdateRequest);

    /**
     * 删除查询条件
     *
     * @param deleteRequest
     * @return
     */

    Boolean deleteStation(DeleteRequest deleteRequest);

    List<StationVO> listStationByPage();

    Boolean readExcel(MultipartFile multipartFile);

    Boolean writeExcel(String path);

}
